<!-- template inhertance -->
<extend name="layout/default"/>

<!-- styles -->
<block name="linkcss">
    <link rel="stylesheet" href="/Public/webuploader/css/webuploader.css">
    <link rel="stylesheet" href="/Public/simditor-2.3.23/styles/simditor.css">
    <link rel="stylesheet" href="/Public/simditor-mention/simditor-mention.css">
    <link rel="stylesheet" href="/Public/simditor-emoji/styles/simditor-emoji.css">

    <link rel="stylesheet" href="/Public/home/css/bbs/signCreate.css">
</block>

<!-- scripts -->
<block name="linkjs">
    <script src="/Public/webuploader/js/webuploader.js"></script>
    <script src="/Public/simditor-2.3.23/site/assets/scripts/module.js"></script>
    <script src="/Public/simditor-2.3.23/site/assets/scripts/hotkeys.js"></script>
    <script src="/Public/simditor-2.3.23/site/assets/scripts/uploader.js"></script>
    <script src="/Public/simditor-2.3.23/site/assets/scripts/simditor.js"></script>
    <script src="/Public/simditor-mention/simditor-mention.js"></script>
    <script src="/Public/simditor-emoji/lib/simditor-emoji.js"></script>

    <script src="/Public/home/js/bbs/signCreate.js"></script>
</block>

<!-- page title -->
<block name="webtitle">
    <title>BBS签名档</title>
</block>

<!-- navagations -->
<block name="breadcrumb">
    <ol class="breadcrumb breadcrumb-edit">
        <li><a href="/">BBS</a></li>
        <li class="active">签名档</li>
    </ol>
</block>

<!-- main body -->
<block name="content">
    <div class="mt-20">
        <div class="publish-box">
            <form class="layui-form" action="">
                <div class="p-10 mb-10 tips">
                    <span>温馨提示：可添加多条签名，默认选择第一条，点击“勾选”可更换</span>
                </div>
                <div id="sign">
                    <!--foreach start-->
                    <div class="sign-box" data-id="1">  <!--为每个新增的自动生成data-id-->
                        <div class="sign-body">
                            <div class="sign-content">
                                <div class="title">title 111</div>
                                <p>测试内容content测试内容content测试内容content测试内容content</p>
                            </div>
                            <div class="clearfix">
                                <div class="pull-left">
                                    <span class="text-muted">2019/5/24 16:26</span>
                                </div>
                                <div class="pull-right">
                                    <a href="" class="action" data-id="1" data-action="sure">勾选</a>  <!--为每个a标签生成data-id和data-action-->
                                    <a href="" class="action" data-id="1" data-action="edit">编辑</a>
                                    <a href="" class="action" data-id="1" data-action="del">删除</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="sign-box" data-id="2">  <!--为每个新增的自动生成data-id-->
                        <div class="sign-body">
                            <div class="sign-content">
                                <div class="title">title 222</div>
                                <p>测试内容content测试内容content测试内容content测试内容content</p>
                            </div>
                            <div class="clearfix">
                                <div class="pull-left">
                                    <span class="text-muted">2019/5/24 16:26</span>
                                </div>
                                <div class="pull-right">
                                    <a href="" class="action" data-id="1" data-action="sure">勾选</a>  <!--为每个a标签生成data-id和data-action-->
                                    <a href="" class="action" data-id="1" data-action="edit">编辑</a>
                                    <a href="" class="action" data-id="1" data-action="del">删除</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--foreach end-->
                </div>
                <input class="layui-input mb-5 mt-20" name="title" placeholder="请输入此签名的标题" >
                <textarea id="editor" placeholder="请输入此签名的内容"></textarea>
                <div class="form-group mt-10 mb-0">
                    <button type="button" class="btn btn-primary" id="save">保 存</button>
                </div>
            </form>
        </div>
    </div>
</block>